//*************************************************************************************
/** \file ma3vane.cc
 *    This file contains the table which is used to estimate trig functions of the
 *    measured wind angle. The wind angle is read from a US Digital MA3 sensor with
 *    an 8-bit A/D, so it spans [0..255]. This range is divided into quadrants and
 *    the wind sine and cosine are grabbed from this table within each quadrant.
 */
//*************************************************************************************

/** This table contains cosines within a quadrant which is divided into 64 parts. 
 */

const signed char ma3cosines[64] PROGMEM = 
{
	127,
	127,
	127,
	127,
	126,
	126,
	126,
	125,
	124,
	124,
	123,
	122,
	121,
	120,
	119,
	118,
	117,
	116,
	114,
	113,
	112,
	110,
	108,
	107,
	105,
	103,
	101,
	99,
	97,
	95,
	93,
	91,
	89,
	86,
	84,
	82,
	79,
	77,
	74,
	72,
	69,
	66,
	64,
	61,
	58,
	55,
	52,
	49,
	46,
	43,
	40,
	37,
	34,
	31,
	28,
	25,
	22,
	19,
	16,
	13,
	9,
	6,
	3,
	0
};
